﻿using Authority.IServices.Model.Role;
using Authority.IServices.Model.User;
using Authority.PresentationModels.Role;
using Authority.PresentationModels.User;

namespace Authority.WebAPI
{
    /// <summary>
    /// 路由模型映射
    /// </summary>
    public class UserProfile : AutoMapper.Profile
    {
        /// <summary>
        /// 构造
        /// </summary>
        public UserProfile()
        {
            CreateMap<QueryUserRequestModel, QueryUserModel>();
            CreateMap<AddUserRequestModel, AddUserModel>();
            CreateMap<EditUserRequestModel, EditUserModel>();
            CreateMap<AddUserRequestModel, AddUserModel>();
        }
    }
}
